package pub.wkq.springframework.beans.factory.support;

import pub.wkq.springframework.beans.BeansException;
import pub.wkq.springframework.core.io.Resource;
import pub.wkq.springframework.core.io.ResourceLoader;

/**
 * @author 21129
 */
public interface BeanDefinitionReader {
    BeanDefinitionRegistry getRegister();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws BeansException;

    void loadBeanDefinitions(Resource... resources) throws BeansException;
    void loadBeanDefinitions(String location) throws BeansException;
    void loadBeanDefinitions(String... location) throws BeansException;

}
